package com.beiing.tianshuai.tianshuai.dongtai.model;

import com.beiing.tianshuai.tianshuai.dongtai.CallBack;

/**
 * Created by Jinni on 2017/7/17 0017.
 */

public interface DynamicModelImpl {
    /**
     * 请求动态列表
     *
     * @param id    当前用户id
     * @param start 条目起始位置
     * @param num   条目数量
     */
    void getDynamicsResult(String id, int start, int num, String dynamicsId, String relayId, CallBack callBack);

    /**
     * 给动态点赞
     *
     * @param userid
     * @param aid
     * @param callBack
     */
    void praiseDynamic(String userid, String aid, String to_uid, CallBack callBack);

    /**
     * 给转发的动态点赞
     *
     * @param uid
     * @param rid
     * @param callBack
     */
    void praiseRelay(String uid, String rid, String did, String to_uid, CallBack callBack);

    /**
     * 屏蔽本条动态
     *
     * @param uid
     * @param did
     * @param callBack
     */
    void shieldDynamic(String uid, String did, CallBack callBack);

    /**
     * 收藏本条动态
     *
     * @param uid
     * @param did
     * @param callBack
     */
    void collectDynamic(String uid, String did, CallBack callBack);

    /**
     * 删除本条动态
     *
     * @param uid
     * @param did
     * @param callBack
     */
    void deleteDynamic(String uid, String did, CallBack callBack);

    /**
     * 删除转发动态
     *
     * @param uid
     * @param rid
     * @param callBack
     */
    void deleteRelay(String uid, String rid, CallBack callBack);

    /**
     * 添加评论
     *
     * @param uid
     * @param to_uid
     * @param aid
     * @param content
     * @param register_id
     * @param create_time
     * @param callBack
     */
    void addComment(String uid, String to_uid, String aid, String content, String register_id, String create_time, CallBack callBack);

    /**
     * 添加转发的评论
     *
     * @param rid
     * @param uid
     * @param did
     * @param to_uid
     * @param content
     * @param callBack
     */
    void addRelayComment(String rid, String uid, String did, String to_uid, String content, CallBack callBack);

    //原动态回复
    void addReply(String did, String cid, String form_uid, String to_uid, String content, String registration_id, CallBack callBack);

    //转发动态回复
    void addRelayReply(String rid, String cid, String form_id, String to_uid, String content, String registration_id, CallBack callBack);

    //获取是否关注
    void isFollowed(String former_uid, String latter_uid, CallBack callBack);

    //关注
    void setFollowed(String former_uid, String latter_uid, CallBack callBack);

    //发送评论
    void sendPush(String status, int tag, int id, String type, CallBack callBack);
}
